package springbook.user.temp;

import org.springframework.context.annotation.Configuration;

@Configuration
public class DaoFactory {
//	@Bean
//	public UserDao userDao() {
//		UserDao dao = new UserDao();
//		dao.setConnectionMaker(connectionMaker());
//		return dao;
//	}
//	
//	@Bean
//	public ConnectionMaker connectionMaker() {		
//		return new CountConnectionMaker(realConnectionMaker());
//	}
//
//	@Bean
//	public ConnectionMaker connectionMaker() {
//		ConnectionMaker connectionMaker = new DConnectionMaker();
//		return connectionMaker;
//	}
}
